package com.shop.loan.model.entity;

import lombok.Data;

import java.util.Date;

@Data
public class UserBankByMybatis {
    /**
     * 
     */
    private Long id;

    /**
     * 卡号
     */
    private String carNo;

    /**
     * 添加时间
     */
    private Date createTime;

    /**
     * 
     */
    private Date deleteTime;

    /**
     * 
     */
    private Boolean isDelete;

    /**
     * 
     */
    private Long userId;

    /**
     * 银行名称
     */
    private String bankName;

    /**
     * 预留手机号
     */
    private String phone;

    /**
     * 协议号
     */
    private String protocol;

    private String bankUrl;

    public UserBankByMybatis(Long id, String carNo, Date createTime, Date deleteTime, Boolean isDelete, Long userId,
                             String bankName, String phone, String protocol,String bankUrl) {
        this.id = id;
        this.carNo = carNo;
        this.createTime = createTime;
        this.deleteTime = deleteTime;
        this.isDelete = isDelete;
        this.userId = userId;
        this.bankName = bankName;
        this.phone = phone;
        this.protocol = protocol;
        this.bankUrl = bankUrl;
    }

    public UserBankByMybatis() {
        super();
    }

    /**
     * 获取
     * @return id 
     */
    public Long getId() {
        return id;
    }

    /**
     * 设置
     * @param id 
     */
    public void setId(Long id) {
        this.id = id;
    }

    /**
     * 获取卡号
     * @return car_no 卡号
     */
    public String getCarNo() {
        return carNo;
    }

    /**
     * 设置卡号
     * @param carNo 卡号
     */
    public void setCarNo(String carNo) {
        this.carNo = carNo == null ? null : carNo.trim();
    }

    /**
     * 获取添加时间
     * @return create_time 添加时间
     */
    public Date getCreateTime() {
        return createTime;
    }

    /**
     * 设置添加时间
     * @param createTime 添加时间
     */
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    /**
     * 获取
     * @return delete_time 
     */
    public Date getDeleteTime() {
        return deleteTime;
    }

    /**
     * 设置
     * @param deleteTime 
     */
    public void setDeleteTime(Date deleteTime) {
        this.deleteTime = deleteTime;
    }

    /**
     * 获取
     * @return is_delete 
     */
    public Boolean getIsDelete() {
        return isDelete;
    }

    /**
     * 设置
     * @param isDelete 
     */
    public void setIsDelete(Boolean isDelete) {
        this.isDelete = isDelete;
    }

    /**
     * 获取
     * @return user_id 
     */
    public Long getUserId() {
        return userId;
    }

    /**
     * 设置
     * @param userId 
     */
    public void setUserId(Long userId) {
        this.userId = userId;
    }

    /**
     * 获取银行名称
     * @return bank_name 银行名称
     */
    public String getBankName() {
        return bankName;
    }

    /**
     * 设置银行名称
     * @param bankName 银行名称
     */
    public void setBankName(String bankName) {
        this.bankName = bankName == null ? null : bankName.trim();
    }

    /**
     * 获取预留手机号
     * @return phone 预留手机号
     */
    public String getPhone() {
        return phone;
    }

    /**
     * 设置预留手机号
     * @param phone 预留手机号
     */
    public void setPhone(String phone) {
        this.phone = phone == null ? null : phone.trim();
    }

    /**
     * 获取协议号
     * @return protocol 协议号
     */
    public String getProtocol() {
        return protocol;
    }

    /**
     * 设置协议号
     * @param protocol 协议号
     */
    public void setProtocol(String protocol) {
        this.protocol = protocol == null ? null : protocol.trim();
    }
}